<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>用户列表</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/xadmin/font.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/xadmin/xadmin.css">
</head>
<body>
<h2 align="center">用户列表</h2>

<div class="x-body">

    <xblock>
        <button type="button" class="layui-btn" id="import"><i class="layui-icon"></i>Excel导入</button>
        <button class="layui-btn" onclick="x_admin_show('添加','/page/add')"><i class="layui-icon"></i>添加</button>
        <button type="button" class="layui-btn" id="export"><i class="layui-icon"></i>数据导出</button>

    </xblock>

    <table class="layui-table" id="infoList" lay-filter="test"></table>
</div>

<script type="text/javascript" src="${pageContext.request.contextPath}/static/lib/jquery.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/lib/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/xadmin/xadmin.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/xadmin/cookie.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/list.js"></script>
<%--行内操作按钮--%>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" href="javascript:;" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-xs" lay-event="del">删除</a>
</script>
<script>
    $(function () {
        userList.init();
    });
</script>

</body>
</html>
